<?php
//$base='localhost/Final';
require_once (__DIR__ . "/../../models/PaymentMethods.php");
require_once (__DIR__ . "/../../models/Users.php");
require_once (__DIR__ . "/../../models/Keywords.php");
$row = PaymentMethods::Get($_REQUEST['id']);
$user = Users::Get($row['userId']);
?>
				<dl class="dl-horizontal">
					<dt>Payment Type:</dt>
					<dd><?php echo Keywords::GetName($row['paymentType']);?></dd>
					<dt>Account Type:</dt>
					<dd><?php echo keywords::GetName($row['accountType']);?></dd>
					<dt>Account Number:</dt>
					<dd><?php echo $row['accountNumber'];?></dd>
					<dt>Expiration Date:</dt>
					<dd><?php echo $row['expDate'];?></dd>
					<dt>User Id:</dt>
					<dd><?php echo $user['firstName'].' '.$user['lastName']?></dd>
					<dt>Created:</dt>
					<dd><?php echo $row['created_at'];?></dd>
					<dt>Updated:</dt>
					<dd><?php echo $row['updated_at'];?></dd>
				</dl>